export class Exception {
    constructor(public code: number, public message: string, public error?: any) { }
}
/**
 * 请求超时
 */
export class TimeoutException extends Exception { }

/**
 * 登录信息失效
 */
export class AuthException extends Exception { }

/**
 * 接口抛出的错误
 */
export class BusinessException extends Exception { }
